import 'package:boss/ui/page/viceScreen/vice_screen_page.dart';
import 'package:flutter/widgets.dart';
import 'package:boss/ui/page/necessaryOrder/page/necessaryOrderDetail/necessary_order_detail_page.dart';
import 'package:boss/ui/page/necessaryOrder/necessary_order_page.dart';
import 'package:boss/ui/page/unit/page/addUnit/add_unit_page.dart';
import 'package:boss/ui/page/unit/page/pickerUnit/picker_unit_page.dart';
import 'package:boss/ui/page/unit/page/unitManager/unit_manager_page.dart';
import 'package:boss/ui/page/splash/splash_page.dart';
import 'package:boss/ui/page/commission/page/commissionMode/commission_mode_page.dart';
import 'package:boss/ui/page/commission/page/commissionDetail/commission_detail_page.dart';
import 'package:boss/ui/page/commission/commission_page.dart';
import 'package:boss/ui/page/role/page/rolePermCon/role_perm_con_page.dart';
import 'package:boss/ui/page/role/page/roleDetail/role_detail_page.dart';
import 'package:boss/ui/page/role/role_page.dart';
import 'package:boss/ui/page/storeEvaluate/storeEvaluate.dart';
import 'package:boss/ui/page/analysis/page/analysisDetail/analysis_detail_page.dart';
import 'package:boss/ui/page/analysis/analysis_page.dart';
import 'package:boss/ui/page/packageGroup/page/packageGroupDetail/package_group_detail_page.dart';
import 'package:boss/ui/page/packageGroup/package_group_page.dart';
import 'package:boss/ui/page/packageGroup/picker_package_group_page.dart';
import 'package:boss/ui/page/booking/bookingHistory/page/bookingSearch/booking_search_page.dart';
import 'package:boss/ui/page/booking/bookingHistory/booking_history_page.dart';
import 'package:boss/ui/page/printer/page/printerStepTwo/printer_step_two_page.dart';
import 'package:boss/ui/page/printer/page/printerStepOne/printer_step_one_page.dart';
import 'package:boss/ui/page/printer/printer_page.dart';
import 'package:boss/ui/page/member/page/gradeDiscount.dart';
import 'package:boss/ui/page/member/page/rechargeEdit.dart';
import 'package:boss/ui/page/member/page/gradeAddandEdit.dart';
import 'package:boss/ui/page/member/page/memberDetails.dart';
import 'package:boss/ui/page/member/page/memberAdministration.dart';
import 'package:boss/ui/page/member/page/rechargeRule.dart';
import 'package:boss/ui/page/member/page/memberAdd.dart';
import 'package:boss/ui/page/member/member.dart';
import 'package:boss/ui/page/webView/web_view_page.dart';
import 'package:boss/ui/page/forgetPassword/forget_password_page.dart';
import 'package:boss/ui/page/pay/payBind/pay_bind_page.dart';
import 'package:boss/ui/page/pay/payList/pay_list_page.dart';
import 'package:boss/ui/page/pay/payList/pay_edit_describe_page.dart';
import 'package:boss/ui/page/pay/payConfiguration/pay_configuration_page.dart';
import 'package:boss/ui/page/pay/payScan/pay_scan_page.dart';
import 'package:boss/ui/page/pay/payQrApply/pay_qr_apply_page.dart';
import 'package:boss/ui/page/pay/payHome/pay_home_page.dart';
import 'package:boss/ui/page/commodity/bindingCommodity/binding_commodity_page.dart';
import 'package:boss/ui/page/commodity/classificationManagement/page/classificationSort/classification_sort_page.dart';
import 'package:boss/ui/page/commodity/classificationManagement/page/classificationDetail/classification_detail_page.dart';
import 'package:boss/ui/page/commodity/classificationManagement/classification_management_page.dart';
import 'package:boss/ui/page/commodity/pickerCategories/picker_categories_page.dart';
import 'package:boss/ui/page/commodity/categories/page/plusCommodityMode/page/plusPackage/plus_package_page.dart';
import 'package:boss/ui/page/commodity/categories/page/plusCommodityMode/page/plusCommodityByFormField/page/tasteSetting/page/plusTaste/plus_taste_page.dart';
import 'package:boss/ui/page/commodity/categories/page/plusCommodityMode/page/plusCommodityByFormField/page/tasteSetting/taste_setting_page.dart';
import 'package:boss/ui/page/commodity/categories/page/plusCommodityMode/page/plusCommodityByFormField/page/skuSetting/sku_setting_page.dart';
import 'package:boss/ui/page/commodity/categories/page/plusCommodityMode/page/plusCommodityByFormField/page/materialSetting/material_setting_page.dart';
import 'package:boss/ui/page/commodity/categories/page/plusCommodityMode/page/plusCommodityByFormField/plus_commodity_by_form_field_page.dart';
import 'package:boss/ui/page/commodity/categories/page/plusCommodityMode/plus_commodity_mode_page.dart';
import 'package:boss/ui/page/commodity/categories/page/searchCommodity/search_commodity_page.dart';
import 'package:boss/ui/page/commodity/categories/categories_page.dart';
import 'package:boss/ui/page/commodity/material/page/materialDetail/material_detail_page.dart';
import 'package:boss/ui/page/commodity/material/page/materialPicker/material_picker_page.dart';
import 'package:boss/ui/page/commodity/material/material_page.dart';
import 'package:boss/ui/page/binding/page/bindingReview/binding_review_page.dart';
import 'package:boss/ui/page/binding/binding_page.dart';
import 'package:boss/ui/page/machineSetup/machine_setup.dart';
import 'package:boss/ui/page/takeoutManagement/page/couponSetting/coupon_setting_page.dart';
import 'package:boss/ui/page/takeoutManagement/page/deliveryFeeSetting/delivery_fee_setting_page.dart';
import 'package:boss/ui/page/takeoutManagement/page/packagingFeeSetting/packaging_fee_setting_page.dart';
import 'package:boss/ui/page/takeoutManagement/page/afterSaleList/after_sale_list_page.dart';
import 'package:boss/ui/page/takeoutManagement/page/fullDecrementSetUp/full_decrement.dart';
import 'package:boss/ui/page/takeoutManagement/page/businessSetting/page/timeRange/time_range_page.dart';
import 'package:boss/ui/page/takeoutManagement/page/businessSetting/business_setting_page.dart';
import 'package:boss/ui/page/takeoutManagement/page/takeoutProcess/takeout_process_page.dart';
import 'package:boss/ui/page/takeoutManagement/page/takeoutList/takeout_list_page.dart';
import 'package:boss/ui/page/takeoutManagement/page/takeoutDetail/takeout_detail_page.dart';
import 'package:boss/ui/page/takeoutManagement/page/rebackOrderDetail/reback_order_detail_page.dart';
import 'package:boss/ui/page/takeoutManagement/takeout_management_page.dart';
import 'package:boss/ui/page/offersManagement/page/offersDetail/offers_detail_page.dart';
import 'package:boss/ui/page/offersManagement/page/plusOffersMode/page/orderDiscount/order_discount_page.dart';
import 'package:boss/ui/page/offersManagement/page/plusOffersMode/page/fullOffers/full_offers_page.dart';
import 'package:boss/ui/page/offersManagement/page/plusOffersMode/page/planOffers/plan_offers_page.dart';
import 'package:boss/ui/page/offersManagement/page/plusOffersMode/page/specialOffers/special_offers_page.dart';
import 'package:boss/ui/page/offersManagement/page/plusOffersMode/page/buyGiftOffers/buy_gift_offers_page.dart';
import 'package:boss/ui/page/offersManagement/page/plusOffersMode/page/doubleOffers/double_offers_page.dart';
import 'package:boss/ui/page/offersManagement/page/plusOffersMode/plus_offers_mode_page.dart';
import 'package:boss/ui/page/offersManagement/offers_management_page.dart';
import 'package:boss/ui/page/reportForm/order/page/orderDetail/order_detail_page.dart';
import 'package:boss/ui/page/reportForm/order/order_page.dart';
import 'package:boss/ui/page/reportForm/collectionStatistics/collection_statistics.dart';
import 'package:boss/ui/page/reportForm/clerkCashier/clerk_cashier.dart';
import 'package:boss/ui/page/reportForm/report_page.dart';
import 'package:boss/ui/page/reportForm/vegetablesStatistics/vegetables_statistics.dart';
import 'package:boss/ui/page/reportForm/reportTableQr/report_table_qr_detail_page.dart';
import 'package:boss/ui/page/reportForm/reportTableQr/report_table_qr_page.dart';
import 'package:boss/ui/page/reportForm/billSummary/bill_summary_page.dart';
import 'package:boss/ui/page/reportForm/sensitiveOperation/page/operation_page.dart';
import 'package:boss/ui/page/reportForm/sensitiveOperation/sensitive_operation.dart';
import 'package:boss/ui/page/reportForm/profitForm/page/interest_report_form_details.dart';
import 'package:boss/ui/page/reportForm/profitForm/profit_form.dart';
import 'package:boss/ui/page/marketing/coupon/couponList/coupon_list_page.dart';
import 'package:boss/ui/page/marketing/coupon/couponDetail/coupon_detail_page.dart';
import 'package:boss/ui/page/marketing/marketingAnalysis/marketing_analysis_page.dart';
import 'package:boss/ui/page/index/index_page.dart';
import 'package:boss/ui/page/personalSettings/personal_setting_page.dart';
import 'package:boss/ui/page/personalSettings/page/editStoreMessage/edit_store_message_page.dart';
import 'package:boss/ui/page/personalSettings/page/feedback/feedback_page.dart';
import 'package:boss/ui/page/staff/page/staffDetail/staff_detail_page.dart';
import 'package:boss/ui/page/staff/staff_page.dart';
import 'package:boss/ui/page/regist/page/completeMessage/complete_message_page.dart';
import 'package:boss/ui/page/regist/regist_page.dart';
import 'package:boss/ui/page/miniProgram/miniProgramQrMail/mini_program_qr_mail_page.dart';
import 'package:boss/ui/page/miniProgram/miniProgramConfigPreview/mini_program_config_preview_page.dart';
import 'package:boss/ui/page/miniProgram/miniProgramMode/mini_program_mode_page.dart';
import 'package:boss/ui/page/miniProgram/miniProgramCommodityHotTop/mini_program_commodity_hot_top_page.dart';
import 'package:boss/ui/page/miniProgram/miniProgramQrConfig/mini_program_qr_config_page.dart';
import 'package:boss/ui/page/miniProgram/miniProgramIndex/mini_program_index_page.dart';
import 'package:boss/ui/page/miniProgram/miniProgramTableConfig/mini_program_table_config_page.dart';
import 'package:boss/ui/page/miniProgram/miniProgramSeatConfig/mini_program_seat_config_page.dart';
import 'package:boss/ui/page/miniProgram/miniProgramConfig/mini_program_config_page.dart';
import 'package:boss/ui/page/miniProgram/miniProgramMemberConfig/mini_program_member_config_page.dart';
import 'package:boss/ui/page/miniProgram/miniProgramCommodityRecommend/mini_program_commodity_recommend_page.dart';
import 'package:boss/ui/page/miniProgram/miniProgramQrDetail/mini_program_qr_detail_page.dart';
import 'package:boss/ui/page/miniProgram/miniProgramCommodityWithoutSale/mini_program_commodity_without_sale_page.dart';
import 'package:boss/ui/page/miniProgram/miniProgramCommodityConfig/mini_program_commodity_config_page.dart';
import 'package:boss/ui/page/modulePage/module_page.dart';
import 'package:boss/ui/page/staffTip/staff_tip_page.dart';
import 'package:boss/ui/page/staffGratuity/gratuity_page.dart';
import 'package:boss/ui/page/login/page/loginSelectStorePage/login_select_store_page.dart';
import 'package:boss/ui/page/login/login_page.dart';
import 'package:boss/ui/page/tableManagement/page/tableDetail/table_detail_page.dart';
import 'package:boss/ui/page/tableManagement/page/sortTable/sort_table_page.dart';
import 'package:boss/ui/page/tableManagement/page/plusBatchTable/plus_batch_table_page.dart';
import 'package:boss/ui/page/tableManagement/page/areaManagement/area_management_page.dart';
import 'package:boss/ui/page/tableManagement/page/areaManagement/page/areaDetail/area_detail_page.dart';
import 'package:boss/ui/page/tableManagement/page/areaManagement/page/areaSort/area_sort_page.dart';
import 'package:boss/ui/page/tableManagement/page/areaManagement/page/pickerArea/picker_area_page.dart';
import 'package:boss/ui/page/tableManagement/table_management_page.dart';
import 'package:boss/ui/page/costManagement/page/cost_management_batch_page.dart';
import 'package:boss/ui/page/costManagement/cost_management_page.dart';

Map<String, Widget Function(BuildContext context)> router = {
'/ViceScreenPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return ViceScreenPage();
  },
'/necessaryOrderDetailPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return NecessaryOrderDetailPage(
      key: null,
      data: args['data'],
    );
  },
'/necessaryOrderPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return NecessaryOrderPage();
  },
'/AddUnitPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return AddUnitPage(
      args['units'],
    );
  },
'/PickerUnitPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PickerUnitPage();
  },
'/UnitManagerPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return UnitManagerPage();
  },
'/splashPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return SplashPage();
  },
'/commissionModePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return CommissionModePage();
  },
'/commissionDetailPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return CommissionDetailPage(
      commissionId: args['commissionId'],
      commission: args['commission'],
      commissionStatus: args['commissionStatus'],
      key: null,
    );
  },
'/commissionPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return CommissionPage();
  },
'/RolePermCon': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return RolePermCon(
      args['roleId'],
    );
  },
'/roleDetailPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return RoleDetailPage(
      role: args['role'],
      key: null,
    );
  },
'/rolePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return RolePage();
  },
'/storeEvaluatePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return StoreEvaluate(
      key: null,
      unionOrderId: args['unionOrderId'],
      beginTime: args['beginTime'],
      endTime: args['endTime'],
    );
  },
'/analysisDetailPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return AnalysisDetailPage(
      type: args['type'],
      startTime: args['startTime'],
      endTime: args['endTime'],
    );
  },
'/analysisPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return AnalysisPage();
  },
'/packageGroupDetailPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PackageGroupDetailPage(
      key: null,
      packageGroup: args['packageGroup'],
    );
  },
'/packageGroup': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PackageGroupPage();
  },
'/pickerPickerPackageGroupPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PickerPackageGroupPage(
      key: null,
      selectedPackageGroups: args['selectedPackageGroups'],
    );
  },
'/BookingSearchPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return BookingSearchPage(
      status: args['status'],
      titleEnum: args['titleEnum'],
      startTime: args['startTime'],
      endTime: args['endTime'],
      beginArrive: args['beginArrive'],
      endArrive: args['endArrive'],
      key: null,
    );
  },
'/BookingHistoryPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return BookingHistoryPage();
  },
'/printerStepTwoPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PrinterStepTwoPage(
      id: args['id'],
    );
  },
'/printerStepOnePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PrinterStepOnePage(
      id: args['id'],
    );
  },
'/printerPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PrinterPage();
  },
'/gradeDiscountPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return GradeDiscount(
      needBack: args['needBack'],
    );
  },
'/rechargeEditPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return RechargeEdit(
      data: args['data'],
    );
  },
'/gradeAddandEditPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return gradeAddandEdit(
      type: args['type'],
      item: args['item'],
    );
  },
'/memberDetailsPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MemberDetails(
      data: args['data'],
    );
  },
'/memberAdministrationPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MemberAdministration();
  },
'/rechargeRulePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return RechargeRule();
  },
'/memberAddPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MemberAdd();
  },
'/MemberPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return Member();
  },
'/webViewPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return WebViewPage(
      key: null,
      url: args['url'],
      title: args['title'],
    );
  },
'/forgetPasswordPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return ForgetPasswordPage();
  },
'/PayBindPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PayBindPage(
      args['qrCode'],
      key: null,
    );
  },
'/PayListPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PayListPage();
  },
'/PayEditDescribePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PayEditDescribePage(
      args['data'],
    );
  },
'/PayConfigurationPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PayConfigurationPage();
  },
'/PayScanPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PayScanPage();
  },
'/PayQrApplyPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PayQrApplyPage();
  },
'/PayHomePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PayHomePage();
  },
'/bindingCommodityPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return BindingCommodityPage();
  },
'/classificationSortPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return ClassificationSortPage();
  },
'/classificationDetailPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return ClassificationDetailPage(
      storeMenu: args['storeMenu'],
      key: null,
    );
  },
'/classificationManagementPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return ClassificationManagementPage();
  },
'/pickerCategoriesPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PickerCategoriesPage(
      type: args['type'],
      selectedCommodities: args['selectedCommodities'],
      isShowPackage: args['isShowPackage'],
      filterType: args['filterType'],
      isShowSku: args['isShowSku'],
    );
  },
'/PlusPackagePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PlusPackagePage(
      key: null,
      package: args['package'],
    );
  },
'/plusTastePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PlusTastePage(
      taste: args['taste'],
    );
  },
'/tasteSettingPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return TasteSettingPage(
      tastes: args['tastes'],
    );
  },
'/skuSettingPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return SkuSettingPage(
      skus: args['skus'],
      price: args['price'],
      vipPrice: args['vipPrice'],
      salePrice: args['salePrice'],
    );
  },
'/materialSetting': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MaterialSettingPage(
      menu: args['menu'],
      materials: args['materials'],
      meterialType: args['meterialType'],
    );
  },
'/plusCommodityByFormFieldPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PlusCommodityByFormFieldPage(
      commodity: args['commodity'],
    );
  },
'/plusCommodityModePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PlusCommodityModePage();
  },
'/searchCommodityPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return SearchCommodityPage(
      args['menus'],
    );
  },
'/categoriesPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return CategoriesPage(
      batchType: args['batchType'],
      selectedCommoditys: args['selectedCommoditys'],
      isShowPackage: args['isShowPackage'],
      filterType: args['filterType'],
    );
  },
'/materialDetailPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MaterialDetailPage(
      data: args['data'],
    );
  },
'/materialPickerPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MaterialPickerPage(
      key: null,
      selectedMaterials: args['selectedMaterials'],
    );
  },
'/materialPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MaterialManagerPage();
  },
'/bindingReviewPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return BindingReviewPage();
  },
'/bindingPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return BindingPage();
  },
'/MachineSetupPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MachineSetup();
  },
'/couponSettingPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return CouponSettingPage();
  },
'/deliveryFeeSettingPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return DeliveryFeeSettingPage();
  },
'/packagingFeeSettingPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PackagingFeeSettingPage();
  },
'/afterSaleListPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return AfterSaleListPage();
  },
'/fullDecrementPagePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return FullDecrementPage();
  },
'/timeRangePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return TimeRangePage(
      key: null,
      start: args['start'],
      end: args['end'],
    );
  },
'/businessSettingPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return BusinessSettingPage();
  },
'/TakeoutProcessPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return TakeoutProcessPage();
  },
'/TakeoutListPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return TakeoutListPage();
  },
'/TakeoutDetailPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return TakeoutDetailPage(
      key: null,
      takeoutId: args['takeoutId'],
    );
  },
'/rebackOrderDetailPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return RebackOrderDetailPage(
      takeOutId: args['takeOutId'],
    );
  },
'/takeoutManagementPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return TakeoutManagementPage();
  },
'/offersDetailPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return OffersDetailPage(
      key: null,
      data: args['data'],
      type: args['type'],
    );
  },
'/orderDiscountPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return OrderDiscountPage(
      data: args['data'],
    );
  },
'/fullOffersPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return FullOffersPage(
      data: args['data'],
    );
  },
'/planOffersPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PlanOffersPage(
      data: args['data'],
    );
  },
'/specialOffersPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return SpecialOffersPage(
      data: args['data'],
    );
  },
'/buyGiftOffersPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return BuyGiftOffersPage(
      data: args['data'],
    );
  },
'/doubleOffersPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return DoubleOffersPage(
      data: args['data'],
    );
  },
'/plusOffersModePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PlusOffersModePage();
  },
'/offersManagementPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return OffersManagementPage();
  },
'/orderDetailPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return OrderDetailPage(
      key: null,
      unionOrderId: args['unionOrderId'],
      startDate: args['startDate'],
      endDate: args['endDate'],
    );
  },
'/orderPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return OrderPage();
  },
'/channelStatisticsPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return ChannelStatisticsPage();
  },
'/clerkCashierPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return ClerkCashierPage();
  },
'/reportPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return ReportPage();
  },
'/vegetablesStatisticsPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return VegetablesStatisticsPage();
  },
'/ReportTableQrDetailPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return ReportTableQrDetailPage();
  },
'/ReportTableQrPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return ReportTableQrPage();
  },
'/billSummaryPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return BillSummaryPage();
  },
'/OperationPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return OperationPage();
  },
'/sensitiveOperationPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return SensitiveOperationPage();
  },
'/interestReportFormDetailsPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return InterestReportFormDetailsPage(
      key: null,
      startTime: args['startTime'],
      endTime: args['endTime'],
      userId: args['userId'],
    );
  },
'/profitFormPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return ProfitFormPage();
  },
'/CouponListPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return CouponListPage();
  },
'/CouponDetailPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return CouponDetailPage(
      coupon: args['coupon'],
    );
  },
'/MarketingAnalysisPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MarketingAnalysisPage();
  },
'/indexPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return IndexPage();
  },
'/PersonalSettingPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PersonalSettingPage();
  },
'/editStoreMessagePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return EditStoreMessagePage();
  },
'/feedbackPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return FeedbackPage();
  },
'/staffDetailPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return StaffDetailPage(
      key: null,
      staff: args['staff'],
    );
  },
'/staffPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return StaffPage();
  },
'/completeMessage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return CompleteMessage();
  },
'/registPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return RegistPage();
  },
'/MiniProgramQrMailPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MiniProgramQrMailPage();
  },
'/MiniProgramConfigPreviewPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MiniProgramConfigPreviewPage();
  },
'/MiniProgramModePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MiniProgramModePage();
  },
'/MiniProgramCommodityHotTopPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MiniProgramCommodityHotTopPage();
  },
'/MiniProgramQrConfigPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MiniProgramQrConfigPage();
  },
'/MiniProgramIndexPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MiniProgramIndexPage();
  },
'/MiniProgramTableConfigPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MiniProgramTableConfigPage();
  },
'/MiniProgramSearConfigPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MiniProgramSeatConfigPage();
  },
'/MiniProgramConfigPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MiniProgramConfigPage();
  },
'/MiniProgramMemberConfigPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MiniProgramMemberConfigPage();
  },
'/MiniProgramCommodityRecommendPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MiniProgramCommodityRecommendPage();
  },
'/MiniProgramQrDetailPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MiniProgramQrDetailPage();
  },
'/MiniProgramCommodityWithoutSalePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MiniProgramCommodityWithoutSalePage();
  },
'/MiniProgramCommodityConfigPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return MiniProgramCommodityConfigPage();
  },
'/modulePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return ModulePage();
  },
'/staffTipPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return StaffTipPage();
  },
'/gratuityPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return GratuityPage();
  },
'/loginSelectStorePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return LoginSelectStorePage();
  },
'/loginPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return LoginPage();
  },
'/tableDetailPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return TableDetailPage(
      key: null,
      storeArea: args['storeArea'],
      storeTable: args['storeTable'],
    );
  },
'/sortTablePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return SortTablePage();
  },
'/plusBatchTablePage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PlusBatchTablePage();
  },
'/areaManagementPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return AreaManagementPage();
  },
'/areaDetailPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return AreaDetailPage(
      key: null,
      storeArea: args['storeArea'],
    );
  },
'/areaSortPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return AreaSortPage();
  },
'/PickerAreaPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return PickerAreaPage(
      selectedAreaId: args['selectedAreaId'],
      key: null,
    );
  },
'/tableManagementPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return TableManagementPage();
  },
'/costManagementBatchPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return CostManagementBatchPage();
  },
'/costManagementPage': (ctx) {
    final args =
        ModalRoute.of(ctx).settings.arguments as Map<String, dynamic> ?? {};
    return CostManagementPage();
  },
};